package com.baidu.bulls.stock.entity.user;

import com.baidu.bulls.stock.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 * 角色操作关联表
 * </p>
 * @author //蔡志豪
 * @since 2022-02-18
 */
@Data
@Entity
@Api(value = "HATEOAS接口-角色操作关联管理(AuthorityRoleOperation)")
@EqualsAndHashCode(callSuper = false)
@TableName("t_authority_role_operation")
@Table(name = "t_authority_role_operation")
@ApiModel(value="AuthorityRoleOperation", description="角色操作关联表")
@AllArgsConstructor
@NoArgsConstructor
public class AuthorityRoleOperation extends BaseEntity {



    @ApiModelProperty(value = "自定义角色id")
    @Column(name = "roleId")
    private Long roleId;

    @ApiModelProperty(value = "自定义操作id")
    @Column(name = "operationId")
    private Long operationId;


}
